package com.enqualcomm.kids.component;

import android.app.Activity;

import com.enqualcomm.kids.activities.ChooseCountryActivity;
//import com.enqualcomm.kids.activities.GestureLockLoginActivity_;
import com.enqualcomm.kids.activities.GetMessageActivity;
import com.enqualcomm.kids.activities.GuideActivity;
import com.enqualcomm.kids.activities.LoginActivity;
import com.enqualcomm.kids.activities.RegisterActivity;
import com.enqualcomm.kids.activities.SplashActivity;

/**
 * Created by Administrator on 2016/3/25.
 */
public class GestureLockFilter {

    public static boolean doFilter(Activity activity){
//        return activity==null||activity instanceof GestureLockLoginActivity_
//                ||activity instanceof LoginActivity||activity instanceof SplashActivity
//                ||activity instanceof GetMessageActivity||activity instanceof RegisterActivity
//                ||activity instanceof ChooseCountryActivity||activity instanceof GuideActivity;
        return activity==null ||activity instanceof LoginActivity||activity instanceof SplashActivity
                ||activity instanceof GetMessageActivity||activity instanceof RegisterActivity
                ||activity instanceof ChooseCountryActivity||activity instanceof GuideActivity;
    }
}
